#!/usr/bin/node

const cp = require('child_process'),
      cmd = process.argv[2];

cp.exec(cmd, (err, stdout) => {
  console.log(stdout);

});
//node 08-exec.js "cat data.txt" | sort | uniq

